package com.stock.core.persistence.reader.sys;

import com.stock.api.domain.sys.SysLogBean;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SysLogReaderMapper {

    /**
     * 根据指定主键获取一条数据库记录,sys_log
     *
     * @param id
     */
    SysLogBean selectByPrimaryKey(Long id);

    /**
     * 分页查询日志信息
     *
     * @param sysLogBean
     * @param rowBounds
     */
    List<SysLogBean> listPage(SysLogBean sysLogBean);
}